#include <iostream>
using namespace std;
int main ()
    {
    int ch;
    cin >> ch;
    switch (ch / 10)
    {
        case 2: cout << "dvadcat ";
        break;
        case 3: cout << "tridcat ";
        break;
        case 4: cout << "sorok ";
        break;
        case 5: cout << "pyatdesyat ";
        break;
        case 6: cout << "shestdesyat ";
        break;
        case 7: cout << "semdesyat ";
        break;
        case 8: cout << "vosemdesyat ";
        break;
        case 9: cout << "devyanosta ";
        break;
    }
    switch (ch % 10)
    {
        case 0: cout << "let";
        break;
        case 1: cout << "odin god";
        break;
        case 2: cout << "dva goda";
        break;
        case 3: cout << "tri goda";
        break;
        case 4: cout << "chetire goda";
        break;
        case 5: cout << "pyat let";
        break;
        case 6: cout << "shest let";
        break;
        case 7: cout << "sem let";
        break;
        case 8: cout << "vosem let";
        break;
        case 9: cout << "devyat let";
        break;
    }
}
